package am.bll.entity;

import java.util.Date;

import am.bll.entity.basic.Money;
/**
 * 账本类
 * @author bananapeel
 *
 */
public class AccountBook
{
    private int id;
    private String Name;
    private Date CreateTime;
    private Date LastEditTime;
    private Money Total;
    
    public void setID(int id_num)
    {
        id = id_num;
    }
    /**
     * 获取账本id
     * @return
     */
    public int getID()
    {
        return id;
    }
    /**
     * 给账本赋值
     */

    public void setName(String name)
    {
        Name = name;
    }
    /**
     * 设置账本名
     */
    public String getName()
    {
        return Name;
    }
    /**
     * 获取账本名
     */

    public void setCreateTime(Date time)
    {
        CreateTime = time;
    }
    /**
     * 设置创建时间
     */
    public Date getCreateTime()
    {
        return CreateTime;
    }
    /**
     * 获取创建时间
     */
    
    public void setLastEditTime(Date time)
    {
        LastEditTime = time;
    }
    /**
     * 设置最后修改时间
     */
    public Date getLastEditTime()
    {
        return LastEditTime;
    }
    /**
     * 获取最后修改时间
     */

    public void setTotal(Money money)
    {
        Total = money;
    }
    /**
     * 设置所有相关账目的净资产
     */
    public Money getTotal()
    {
        return Total;
    }
}